<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2020-06-23
 * Time: 15:51
 */

namespace app\api\validate\order;


use app\api\validate\BaseValidate;

class CheckStoreOrder extends BaseValidate
{
    protected $rule = [
        'address_id' => 'require|isPositiveInteger',
        'store_id' => 'require|isPositiveInteger',
        'take_time' => 'require|max:30',
        'remark' => 'max:100',
    ];


    protected $message = [
        'address_id' => '请选择正确地址信息',
        'store_id' => '请选择正确的门店信息',
        'take_time' => '请选择取衣日期且长度不大于30',
        'remark' => '备注信息长度不大于100'
    ];
}